package com.example.petshopping.model;

/**
 * 宠物专场条目模型，对应 item_special_performance_list.xml 的展示字段
 */
public class SpecialPerformanceItem {
    private String id;
    private String title; //对应专场名称
    private String imageUrl; //对应专场图片 
    private String timeText; //对应专场结束时间
    private boolean promoted; //对应专场是否推荐
    private Integer count; //对应专场商品数量

    public SpecialPerformanceItem() {}



    public SpecialPerformanceItem(String id, String title, String imageUrl, String timeText, boolean promoted, Integer count) {
        this.id = id;
        this.title = title;
        this.imageUrl = imageUrl;
        this.timeText = timeText;
        this.promoted = promoted;
        this.count = count;
    }

    public String getId() { return id; }
    public void setId(String id) { this.id = id; }

    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }

    public String getImageUrl() { return imageUrl; }
    public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; }

    public String getTimeText() { return timeText; }
    public void setTimeText(String timeText) { this.timeText = timeText; }

    public boolean isPromoted() { return promoted; }
    public void setPromoted(boolean promoted) { this.promoted = promoted; }
    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}


